<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello Request</title>
</head>
<body>
<!--
todo 两个路径的问题.
    <a href="/MethodOfGetHttp">  Wrong!

    <form action="/MethodOfGetHttp" Wrong!
-->
<form action="/day02-request/MethodOfGetHttp" method="post">
    name<input type="text" name="username" placeholder="please input u username!"><br>
    password<input type="password" name="password" placeholder="please input u password!"><br>
    <input type="submit" value="submit" aligh="center">
</form>
<!--
<a href="MethodOfGetHttp">  也可以.
-->
<a href="/day02-request/MethodOfGetHttp">点我获取 Servlet 资源.</a>
</body>
</html>